'''
#我的名字是x，今年x岁了，体重x公斤，学号是x。
name = "tom"
age = 12
weight = 45.5
stu_id = 1
print("我的名字是%s，今年%d岁了，体重%.2f公斤，学号是%03d" %(name,age,weight,stu_id))
print(f"我的名字是{name}，今年{age}岁了，体重{weight}公斤，学号是{stu_id}")


print("hello",end="\n")
print("world",end="....")
print("hello")
print("python")

#我的名字是x，今年x岁了，体重x公斤，学号是x。
name = "tom"
age = 12
weight = 45.5
stu_id = 1
print(f"我的名字是{name}，今年{age}岁了，体重{weight}公斤，学号是{stu_id}")

password=input('请用户输入密码:')
print(f'你输入的密码是{password}')
print(type(password))

num=input("请输入密码：")
print(num)
print(type(num))
print(type(int(num)))

num1=1
str1='20'
print(type(float(num1)))
print(type(float(str1)))

print(float(num1))
print(float(str1))

print(type(str(num1)))
print(str(num1))

list1=[10,20,30]
print(tuple(list1))

tuple=(10,20,30)
print(list(tuple))

str2="10"
str3='1.1'
str4="[10,20,30]"
str5='(10,20,30)'

print(type(eval(str2)))
print(type(eval(str3)))
print(type(eval(str4)))
print(type(eval(str5)))


num=1
print(num)

num1,float1,str1=10,20.0,"hello world"
print(num1)
print(float1)
print(str1)

a=b=22
print(a,b)

a=100
a+=100
print(a)

a-=12
print(a)

c=10
c+=1+2
print(c）

#先算复合赋值运算符右边的等式
d=10
d*=2+1
print(d)

a=0
b=1
c=2

print(a<b and c<b)
print(a<b and c>b)

print(a<b or c<b)
print(a<b or c>b)
print(a>b or c<b)

print(not true)
print(not a<b)
'''

